package com.car.loan.project.ve.domain.bo;

import com.car.loan.project.cd.domain.vo.CreditAlbumVo;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/10/30 21:11
 */
@Data
public class VehicleEvaluationApplyUpdateBo {

    @ApiModelProperty(required = true)
    @NotNull
    private Integer id;

    /**
     * 车辆品牌
     */
    @ApiModelProperty(value = "车辆品牌", required = true)
    @NotNull
    private String brand;

    /**
     * 车辆型号
     */
    @ApiModelProperty(value = "车辆型号", required = true)
    @NotNull
    private String type;

    /**
     * 车架号
     */
    @ApiModelProperty(value = "车架号，需小写转大写，做17位校验", required = true)
    @NotNull
    private String frameNo;

    /**
     * 发动机号
     */
    @ApiModelProperty(value = "发动机号")
    private String engineNo;

    /**
     * 首次登记日期
     */
    @ApiModelProperty(value = "首次登记日期 yyyy-MM-dd", required = true)
    @NotNull
    private String firstRegistDate;

    /**
     * 上牌省
     */
    @ApiModelProperty(value = "上牌省", required = true)
    @NotNull
    private String registProvince;

    /**
     * 上牌市
     */
    @ApiModelProperty(value = "上牌市")
    private String registCity;

    /**
     * 车系型号
     */
    @ApiModelProperty(value = "车系型号")
    private String carSeries;

    /**
     * 业务部门
     */
    @ApiModelProperty(value = "业务部门", required = true)
    @NotNull
    private Long deptId;

    /**
     * 业务员
     */
    @ApiModelProperty(value = "业务员", required = true)
    @NotNull
    private Long adminId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("照片")
    private List<CreditAlbumVo> images = Lists.newArrayList();

    @ApiModelProperty(value = "1=保存 2=提交", required = true)
    @NotNull
    private Integer operatorStatus;
}
